//
// Copyright (c) 2009 All Right Reserved
//
// vl
//
// 2009-02-01
//
using System.Text;
namespace LargoCommon.Music {
///
/// Musical Context.
///
public class MusicalContext {
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The given setup.
/// The given header.
public MusicalContext(MusicalSettings givenSettings, MusicalHeader givenHeader) {
this.Settings = givenSettings;
this.Header = givenHeader;
}
///
/// Initializes a new instance of the class.
///
[JetBrains.Annotations.UsedImplicitlyAttribute]
public MusicalContext()
{
}
#endregion
#region Properties
///
/// Gets the setup.
///
///
/// The setup.
///
public MusicalSettings Settings { get; }
///
/// Gets the header.
///
///
/// The header.
///
public MusicalHeader Header { get; }
#endregion
#region String representation
/// String representation of the object.
/// Returns value.
public override string ToString() {
var s = new StringBuilder();
s.AppendFormat("MusicalContext {0}", this.Header);
return s.ToString();
}
#endregion
}
}